package com.ftf.tp.blog.infrastructure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftf.tp.blog.infrastructure.mapper.pos.ColumnPO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author tanghao
 * @date 2022/6/24
 */
public interface ColumnMapper extends BaseMapper<ColumnPO> {
    int updateBatch(List<ColumnPO> list);

    int batchInsert(@Param("list") List<ColumnPO> list);

    Integer selectColumnBlogNumber(Long id);
}